package com.winit.core.ci.vcs.handler;

import org.tmatesoft.svn.core.SVNException;
import org.tmatesoft.svn.core.wc.*;

/**
 * Created by wangjian on 16/8/1.
 */
public class ConflictResolverHandler implements ISVNConflictHandler {


    @Override
    public SVNConflictResult handleConflict(SVNConflictDescription svnConflictDescription) throws SVNException {
        SVNMergeFileSet mergeFiles = svnConflictDescription.getMergeFiles();
        return new SVNConflictResult(SVNConflictChoice.MINE_FULL, mergeFiles.getResultFile());
    }
}
